using System.IO;
using Orchard.MediaLibrary.Models;

namespace Orchard.MediaLibrary.Factories
{

    public interface IMediaFactory
    {
        MediaPart CreateMedia(Stream stream, string path, string mimeType, string contentType);
    }

    public class NullMediaFactory : IMediaFactory
    {
        public static IMediaFactory Instance => new NullMediaFactory();

        public MediaPart CreateMedia(Stream stream, string path, string mimeType, string contentType)
        {
            return null;
        }
    }
}